True if both row and column headings are displayed; False if there are no headings displayed, or if either the column or row headings are not displayed. Read/write Boolean.
expression.DisplayHeadings
expression Required. An expression that returns a Window object.
You can use the DisplayColumnHeadings and DisplayRowHeadings properties to independently control the display of column and row headings.
This example hides the row and column headings in the active window of Spreadsheet1.
Spreadsheet1.ActiveWindow.DisplayHeadings = False